﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OMModel
{
    public class ProductOrderInfo{
        private string _serialNumber;
        private string _productNumber;
        private string _productType;
        private string _productName;
        private string _orderType;
        private double _salesPrice;
        private long _exchangePoint;
        private int _amount;
        private int _quantity;
        private string _taste;
        private string _status;
        private string _orderPerson;
        private string _specialAction;
        private string _specialActionPerson;
        private string _note;

        public ProductOrderInfo(){}
        public ProductOrderInfo(string serialNumber, string productNumber, string productType, string productName, string orderType, double salesPrice, long exchangePoint, int amount, int quantity, string taste, string status, string orderPerson, string specialAction, string specialActionPerson, string note){
            _serialNumber = serialNumber;
            _productNumber = productNumber;
            _productType = productType;
            _productName = productName;
            _orderType = orderType;
            _salesPrice = salesPrice;
            _exchangePoint = exchangePoint;
            _amount = amount;
            _quantity = quantity;
            _taste = taste;
            _status = status;
            _orderPerson = orderPerson;
            _specialAction = specialAction;
            _specialActionPerson = specialActionPerson;
            _note = note;
        }

        public string SerialNumber{
            get { return _serialNumber; }
            set { _serialNumber = value; }
        }

        public string ProductNumber{
            get { return _productNumber; }
            set { _productNumber = value; }
        }

        public string ProductType{
            get { return _productType; }
            set { _productType = value; }
        }

        public string ProductName{
            get { return _productName; }
            set { _productName = value; }
        }

        public string OrderType{
            get { return _orderType; }
            set { _orderType = value; }
        }

        public double SalesPrice{
            get { return _salesPrice; }
            set { _salesPrice = value; }
        }

        public long ExchangePoint{
            get { return _exchangePoint; }
            set { _exchangePoint = value; }
        }

        public int Amount{
            get { return _amount; }
            set { _amount = value; }
        }

        public int Quantity{
            get { return _quantity; }
            set { _quantity = value; }
        }

        public string Taste{
            get { return _taste; }
            set { _taste = value; }
        }

        public string Status{
            get { return _status; }
            set { _status = value; }
        }

        public string OrderPerson{
            get { return _orderPerson; }
            set { _orderPerson = value; }
        }

        public string SpecialAction{
            get { return _specialAction; }
            set { _specialAction = value; }
        }

        public string SpecialActionPerson{
            get { return _specialActionPerson; }
            set { _specialActionPerson = value; }
        }

        public string Note{
            get { return _note; }
            set { _note = value; }
        }
    }
}
